<?php
/**
 *@fileoverview: [群博客] 数据库配置
 *@author: 王涛 <wangtao5@staff.sina.com.cn>
 *@date: Tue Nov 30 01:48:23 GMT 2010
 *@copyright: sina
 */
//lookbook 配置

return array(
    'meila_pic' => array(
            'connect' => array(
                'master' => array(
                    'host' => array(
                        0 => $_SERVER['SINASRV_DB_HOST'].':'.$_SERVER['SINASRV_DB_PORT']
                    ),
                    'user' => $_SERVER['SINASRV_DB_USER'],
                    'pw' => $_SERVER['SINASRV_DB_PASS'],
                    'name' => $_SERVER['SINASRV_DB_NAME'],
                ),
                'slave' => array(
                    'host' => array(
                        0 => $_SERVER['SINASRV_DB_HOST_R'].':'.$_SERVER['SINASRV_DB_PORT_R']
                    ),
                    'user' => $_SERVER['SINASRV_DB_USER_R'],
                    'pw' => $_SERVER['SINASRV_DB_PASS_R'],
                    'name' => $_SERVER['SINASRV_DB_NAME_R'],
                )
            ),
            'tb_n' => 1,
            'tb_prefix' => 'meila_pic'
    ),
    'meila_album' => array(
            'connect' => array(
                'master' => array(
                    'host' => array(
                        0 => $_SERVER['SINASRV_DB_HOST'].':'.$_SERVER['SINASRV_DB_PORT']
                    ),
                    'user' => $_SERVER['SINASRV_DB_USER'],
                    'pw' => $_SERVER['SINASRV_DB_PASS'],
                    'name' => $_SERVER['SINASRV_DB_NAME'],
                ),
                'slave' => array(
                    'host' => array(
                        0 => $_SERVER['SINASRV_DB_HOST_R'].':'.$_SERVER['SINASRV_DB_PORT_R']
                    ),
                    'user' => $_SERVER['SINASRV_DB_USER_R'],
                    'pw' => $_SERVER['SINASRV_DB_PASS_R'],
                    'name' => $_SERVER['SINASRV_DB_NAME_R'],
                )
            ),
            'tb_n' => 1,
            'tb_prefix' => 'meila_album'
    ),
    'meila_album_pic' => array(
            'connect' => array(
                'master' => array(
                    'host' => array(
                        0 => $_SERVER['SINASRV_DB_HOST'].':'.$_SERVER['SINASRV_DB_PORT']
                    ),
                    'user' => $_SERVER['SINASRV_DB_USER'],
                    'pw' => $_SERVER['SINASRV_DB_PASS'],
                    'name' => $_SERVER['SINASRV_DB_NAME'],
                ),
                'slave' => array(
                    'host' => array(
                        0 => $_SERVER['SINASRV_DB_HOST_R'].':'.$_SERVER['SINASRV_DB_PORT_R']
                    ),
                    'user' => $_SERVER['SINASRV_DB_USER_R'],
                    'pw' => $_SERVER['SINASRV_DB_PASS_R'],
                    'name' => $_SERVER['SINASRV_DB_NAME_R'],
                )
            ),
            'tb_n' => 1,
            'tb_prefix' => 'meila_album_pic'
    ),
    'meila_point' => array(
            'connect' => array(
                'master' => array(
                    'host' => array(
                        0 => $_SERVER['SINASRV_DB_HOST'].':'.$_SERVER['SINASRV_DB_PORT']
                    ),
                    'user' => $_SERVER['SINASRV_DB_USER'],
                    'pw' => $_SERVER['SINASRV_DB_PASS'],
                    'name' => $_SERVER['SINASRV_DB_NAME'],
                ),
                'slave' => array(
                    'host' => array(
                        0 => $_SERVER['SINASRV_DB_HOST_R'].':'.$_SERVER['SINASRV_DB_PORT_R']
                    ),
                    'user' => $_SERVER['SINASRV_DB_USER_R'],
                    'pw' => $_SERVER['SINASRV_DB_PASS_R'],
                    'name' => $_SERVER['SINASRV_DB_NAME_R'],
                )
            ),
            'tb_n' => 1,
            'tb_prefix' => 'meila_point'
    ),
    'meila_tags' => array(
            'connect' => array(
                'master' => array(
                    'host' => array(
                        0 => $_SERVER['SINASRV_DB_HOST'].':'.$_SERVER['SINASRV_DB_PORT']
                    ),
                    'user' => $_SERVER['SINASRV_DB_USER'],
                    'pw' => $_SERVER['SINASRV_DB_PASS'],
                    'name' => $_SERVER['SINASRV_DB_NAME'],
                ),
                'slave' => array(
                    'host' => array(
                        0 => $_SERVER['SINASRV_DB_HOST_R'].':'.$_SERVER['SINASRV_DB_PORT_R']
                    ),
                    'user' => $_SERVER['SINASRV_DB_USER_R'],
                    'pw' => $_SERVER['SINASRV_DB_PASS_R'],
                    'name' => $_SERVER['SINASRV_DB_NAME_R'],
                )
            ),
            'tb_n' => 1,
            'tb_prefix' => 'meila_tags'
    ),
    'albumfeed' => array(
        'connect' => array(
            'master' => array(
                'host' => array(
                        0 => $_SERVER['SINASRV_DB_HOST'].':'.$_SERVER['SINASRV_DB_PORT']
                ),
                'user' => $_SERVER['SINASRV_DB_USER'],
                'pw' => $_SERVER['SINASRV_DB_PASS'],
                'name' => $_SERVER['SINASRV_DB_NAME'],
            ),
            'slave' => array(
                'host' => array(
                        0 => $_SERVER['SINASRV_DB_HOST_R'].':'.$_SERVER['SINASRV_DB_PORT_R']
                ),
                'user' => $_SERVER['SINASRV_DB_USER_R'],
                'pw' => $_SERVER['SINASRV_DB_PASS_R'],
                'name' => $_SERVER['SINASRV_DB_NAME_R'],
            )
        ),
        'tb_n' => 16,
        'tb_prefix' => 'ml_albumfeed_'
    ),
    'albumreply' => array(
        'connect' => array(
            'master' => array(
                'host' => array(
                        0 => $_SERVER['SINASRV_DB_HOST'].':'.$_SERVER['SINASRV_DB_PORT']
                ),
                'user' => $_SERVER['SINASRV_DB_USER'],
                'pw' => $_SERVER['SINASRV_DB_PASS'],
                'name' => $_SERVER['SINASRV_DB_NAME'],
            ),
            'slave' => array(
                'host' => array(
                        0 => $_SERVER['SINASRV_DB_HOST_R'].':'.$_SERVER['SINASRV_DB_PORT_R']
                ),
                'user' => $_SERVER['SINASRV_DB_USER_R'],
                'pw' => $_SERVER['SINASRV_DB_PASS_R'],
                'name' => $_SERVER['SINASRV_DB_NAME_R'],
            )
        ),
        'tb_n' => 16,
        'tb_prefix' => 'ml_albumreply_'
    ),
);
